package com.qf.mapper;

import com.qf.entity.OccupancyInfo;
import com.qf.entity.OccupancyInfoDTO;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface OccupancyInfoMapper {
    List<OccupancyInfo> findAll(OccupancyInfoDTO occupancyInfoDTO);

    boolean delOccupancyInfoById(Integer id);

    boolean delOccupancyInfoByIds(Integer[] ids);

    boolean updateLeaveTime(@Param("id") Integer id, @Param("time") Date time);
}
